package org.seedltd.upms.model.sys.entity;

import org.seedltd.core.base.BaseEntity;
import org.seedltd.upms.enums.EnableStatus;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Getter;
import lombok.Setter;

/**
 * @author laizuan
 * @version 1.0
 * @since 2020/08/06
 */
@Getter
@Setter
@TableName("sys_param")
public class SysParam extends BaseEntity {

    /**
     * 参数主键
     */
    @TableId(value = "param_id")
    private Long paramId;

    /**
     * 参数key
     */
    @TableField(value = "param_key")
    private String paramKey;

    /**
     * 参数值
     */
    @TableField(value = "param_value")
    private String paramValue;

    /**
     * 启用状态(1启用 0禁用)
     */
    @TableField(value = "enabled")
    private EnableStatus enabled;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;
}